package com.dxysun.user.demo01;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OpenFeignController
{

	@Autowired
	private OrderServiceFeignClient orderServiceFeignClient;

	@GetMapping("/test")
	public String test()
	{
		return orderServiceFeignClient.getAllOrder();
	}
}
